﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimplePad.Plugins
{
    [global::System.AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
    public class PluginAttribute : Attribute
    {
        public string Name { get; protected set; }
        public string Description { get; protected set; }
        public string Author { get; protected set; }
        public string Version { get; protected set; }

        public PluginAttribute(string name)
        {
            Name = name;
        }

        public PluginAttribute(string name, string desc)
        {
            Name = name;
            Description = desc;
        }

        public PluginAttribute(string name, string desc, string author)
        {
            Name = name;
            Description = desc;
            Author = author;
        }

        public PluginAttribute(string name, string desc, string author, string version)
        {
            Name = name;
            Description = desc;
            Author = author;
            Version = version;
        }
    }
}
